home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-01
/
wlib11_2.zip
/
EXAMPLES.EXE
/
EXAM130.C
< prev
next >
Wrap
Text File
|
1991-03-13
|
957b
|
27 lines
#include "window.h"
VIDEO_CONFIG v;
main()
{
WindowInitializeSystem();
/* Get video information */
ClearScreen(CREATE_VIDEO_ATTRIBUTE(black,white));
GetVideoBiosInfo(&v);
VideoPrintf("The video mode is %d\n"
"The starting scan line of the cursor is %d\n"
"The ending scan line of the cursor is %d \n"
"The row of the cursor is %d \n"
"The column of the cursor is %d\n"
"The video page is %d\n"
"The size of the video page is %d\n"
"The number of rows is %d\n"
"The number of columns is %d\n"
"The height of the characters is %d\n",
v.video_mode, v.cursor_startline, v.cursor_endline,
v.cursor_row,v.cursor_col,
v.video_page, v.video_pagesize, v.video_rows, v.video_cols,
v.char_height);
}